Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(connector): Move connectors Bamboraapac, Boku, Gocardless, Prophetpay, Rapyd #6652

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

spritianeja03
Copy link
Contributor

Type of Change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates
  • Documentation
  • CI/CD

Description

Moved connectors Bamboraapac, Boku, Ebanx, Gocardless, Prophetpay and Rapyd from router crate to hyperswitch_connectors crate

Additional Changes

  • This PR modifies the API contract
  • This PR modifies the database schema
  • This PR modifies application configuration/environment variables

Motivation and Context

How did you test it?

Checklist

  • I formatted the code cargo +nightly fmt --all
  • I addressed lints thrown by cargo clippy
  • I reviewed the submitted code
  • I added unit tests for my changes where possible

Copy link

semanticdiff-com bot commented Nov 25, 2024

Review changes with  SemanticDiff

Changed Files
File Status
  crates/router/src/connector.rs  79% smaller
  crates/hyperswitch_connectors/src/connectors.rs  70% smaller
  crates/hyperswitch_connectors/src/connectors/rapyd/transformers.rs  63% smaller
  crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs  62% smaller
  crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs  61% smaller
  crates/hyperswitch_connectors/src/connectors/gocardless.rs  54% smaller
  crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs  53% smaller
  crates/hyperswitch_connectors/src/connectors/rapyd.rs  52% smaller
  crates/hyperswitch_connectors/src/connectors/prophetpay.rs  52% smaller
  crates/hyperswitch_connectors/src/connectors/bamboraapac.rs  44% smaller
  crates/hyperswitch_connectors/src/connectors/boku.rs  41% smaller
  crates/hyperswitch_connectors/src/connectors/boku/transformers.rs  29% smaller
  crates/hyperswitch_connectors/src/default_implementations_v2.rs  16% smaller
  crates/hyperswitch_connectors/src/default_implementations.rs  16% smaller
  crates/router/src/core/payments/flows.rs  16% smaller
  crates/router/src/core/payments/connector_integration_v2_impls.rs  16% smaller
  crates/hyperswitch_connectors/src/utils.rs  1% smaller
  Cargo.lock Unsupported file format
  crates/hyperswitch_connectors/Cargo.toml Unsupported file format
  crates/router/Cargo.toml Unsupported file format
  crates/router/src/consts.rs  0% smaller

@spritianeja03 spritianeja03 changed the title refactor(connector): Move connectors Bamboraapac, Boku, Ebanx, Gocardless, Payone, Prophetpay, Rapyd refactor(connector): Move connectors Bamboraapac, Boku, Gocardless, Prophetpay, Rapyd Nov 29, 2024
@spritianeja03 spritianeja03 self-assigned this Nov 29, 2024
@spritianeja03 spritianeja03 added C-refactor Category: Refactor A-connector-integration Area: Connector integration labels Nov 29, 2024
@spritianeja03 spritianeja03 added this to the November 2024 Release milestone Nov 29, 2024
@deepanshu-iiitu deepanshu-iiitu marked this pull request as ready for review December 2, 2024 07:53
@deepanshu-iiitu deepanshu-iiitu requested review from a team as code owners December 2, 2024 07:53
@@ -28,6 +28,7 @@ rand = "0.8.5"
regex = "1.10.4"
reqwest = { version = "0.11.27" }
ring = "0.17.8"
roxmltree = "0.20.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we do this version
roxmltree = "0.19.0"

) => Self::Voided,
(RapydPaymentStatus::Error, _) => Self::Failure,
(RapydPaymentStatus::New, _) => Self::Authorizing,
// impl ForeignFrom<(RapydPaymentStatus, NextAction)> for enums::AttemptStatus {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove these comments

}
}
// }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove these comments

@@ -91,7 +91,6 @@ rdkafka = "0.36.2"
regex = "1.10.4"
reqwest = { version = "0.11.27", features = ["json", "rustls-tls", "gzip", "multipart"] }
ring = "0.17.8"
roxmltree = "0.19.0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for removing the unused dependency!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-connector-integration Area: Connector integration C-refactor Category: Refactor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants